package by.vkhalko.asamo.dataaccess;

import java.util.List;

import by.vkhalko.asamo.datamodel.Company;
import by.vkhalko.asamo.datamodel.Order;
import by.vkhalko.asamo.datamodel.Person;
import by.vkhalko.asamo.datamodel.Status;

public interface OrderDao extends AbstractDao<Long, Order> {

	List<Order> getAllOrders();

	List<Order> getAllByCompany(Company company);

	List<Order> getAllByPerson(Person person);

	List<Order> getAllByStatus(Status status);

}
